package com.company.cloud.user.modules.app.controller.req;

import com.company.cloud.user.modules.api.constant.UserOneTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class UserLoginBindWxMobile {

	@ApiModelProperty(value = "第三方渠道【UserThirdChannelEnum】", required = true)
	@NotEmpty(message = "第三方渠道不能为空")
	private String thirdChannel;

	@ApiModelProperty(value = "微信获取的加密手机号", required = true)
	@NotEmpty(message = "微信获取的加密手机号不能为空")
	private String encryptedMobile;

	@ApiModelProperty(value = "微信获取的SessionKey", required = true)
//	@NotEmpty(message = "SessionKey不能为空")
	private String sessionKey;

	@ApiModelProperty(value = "加密偏移量", required = true)
	@NotEmpty(message = "加密偏移量不能为空")
	private String iv;

	@ApiModelProperty(value = "用户一级分类[UserOneTypeEnum]")
	private String userTypeOne = UserOneTypeEnum.Customer_User.getCode();
}
